class ApplicationController < ActionController::Base
  helper_method :isLogged
  protect_from_forgery
  before_filter :isLogged
  
  def isLogged
	if session[:user]
		@user = User.find(session[:user])
		return true
	end
	return false
  end
end
